package server;

import java.util.Collection;

import client.Client;



public class Server extends Partita {

	/**
	 * @uml.property  name="clientInterface"
	 * @uml.associationEnd  multiplicity="(1 8)" inverse="server:server.ClientInterface"
	 */
	private Collection clientInterface = new java.util.ArrayList();

	/**
	 * Getter of the property <tt>clientInterface</tt>
	 * @return  Returns the clientInterface.
	 * @uml.property  name="clientInterface"
	 */
	public Collection getClientInterface() {
		return clientInterface;
	}

	/**
	 * Setter of the property <tt>clientInterface</tt>
	 * @param clientInterface  The clientInterface to set.
	 * @uml.property  name="clientInterface"
	 */
	public void setClientInterface(Collection clientInterface) {
		this.clientInterface = clientInterface;
	}

	/**
	 * @uml.property  name="partita"
	 * @uml.associationEnd  multiplicity="(1 1)" inverse="server:server.Partita"
	 */
	private Partita partita = new server.Partita();

	/**
	 * Getter of the property <tt>partita</tt>
	 * @return  Returns the partita.
	 * @uml.property  name="partita"
	 */
	public Partita getPartita() {
		return partita;
	}

	/**
	 * Setter of the property <tt>partita</tt>
	 * @param partita  The partita to set.
	 * @uml.property  name="partita"
	 */
	public void setPartita(Partita partita) {
		this.partita = partita;
	}

	/**
	 * @uml.property  name="client"
	 * @uml.associationEnd  multiplicity="(0 -1)" inverse="server:client.Client"
	 */
	private Collection client;

	/**
	 * Getter of the property <tt>client</tt>
	 * @return  Returns the client.
	 * @uml.property  name="client"
	 */
	public Collection getClient() {
		return client;
	}

	/**
	 * Setter of the property <tt>client</tt>
	 * @param client  The client to set.
	 * @uml.property  name="client"
	 */
	public void setClient(Collection client) {
		this.client = client;
	}
	
	private static char sceltaMappa(){
		
		char c='a';
		return c;
	}
	
	public void creaUtente(String user, String pass,Client client){
		
	}
	
	public void login(String user, String pass,Client client){
		
	}
	
	public void logout(String token,Client client){
		
	}
	
	public void creaRazza(String token,String nomeRazza,char tipo,Client client){
		
	}
	
	public void listaGiocatori(String token,Client client){
		
	}
	
	public void classifica(String token,Client client){
		
	}
	
	public void accessoPartita(String token,Client client){
		
	}
	
	public void uscitaPartita(String token,Client client){
		
	}
	
	public void mappaGenerale(String token,Client client){
	
	}
	
	public void listaDinosauri(String token,Client client){
		
	}
	
	public void statoDinosauro(String token,String idDino,Client client){
		
	}
	
	public void vistaLocale(String token,String idDino,Client client){
		
	}
	
	public void deposizioneUovo(String token, String idDino,Client client){
		
	}
	
	public void crescita(String token, String idDino,Client client){
		
	}
	
	public void movimento(String token, String idDino,Posizione dest,Client client){
		
	}

}
